package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Messagetype entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Messagetype implements java.io.Serializable {

	// Fields

	private Integer mtypeId;
	private String mname;
	private String mtdes;
	private Set usermessages = new HashSet(0);
	private Set tasks = new HashSet(0);

	// Constructors

	/** default constructor */
	public Messagetype() {
	}

	/** full constructor */
	public Messagetype(String mname, String mtdes, Set usermessages, Set tasks) {
		this.mname = mname;
		this.mtdes = mtdes;
		this.usermessages = usermessages;
		this.tasks = tasks;
	}

	// Property accessors

	public Integer getMtypeId() {
		return this.mtypeId;
	}

	public void setMtypeId(Integer mtypeId) {
		this.mtypeId = mtypeId;
	}

	public String getMname() {
		return this.mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getMtdes() {
		return this.mtdes;
	}

	public void setMtdes(String mtdes) {
		this.mtdes = mtdes;
	}

	public Set getUsermessages() {
		return this.usermessages;
	}

	public void setUsermessages(Set usermessages) {
		this.usermessages = usermessages;
	}

	public Set getTasks() {
		return this.tasks;
	}

	public void setTasks(Set tasks) {
		this.tasks = tasks;
	}

}